import App from './App'
import store from './store';
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'

Vue.config.productionTip = false
App.mpType = 'app'

// 使用uview-ui2.0
Vue.use(uView)
uni.$u.config.unit = 'rpx'

Vue.prototype.$store = store

const app = new Vue({
    ...App,
		store
})

// 引入请求封装，将app参数传递到配置中
require('@/utils/request.js')(app)

app.$mount()
